package custom;

import custom.po.Animal;
import custom.po.ChongAnimal;
import custom.po.Student;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.reflection.DefaultReflectorFactory;
import org.apache.ibatis.reflection.MetaObject;
import org.apache.ibatis.reflection.factory.DefaultObjectFactory;
import org.apache.ibatis.reflection.wrapper.DefaultObjectWrapperFactory;

import java.lang.reflect.Constructor;
import java.util.ArrayList;
import java.util.Locale;

public class MyBatisTest {
	public static void main(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException {
		Class<?> aClass = Class.forName("custom.po.Animal");
		Constructor<?>[] declaredConstructors = aClass.getDeclaredConstructors();
		for(int a=0;a<declaredConstructors.length;a++){
			System.out.println(declaredConstructors[a].isAccessible());
		}
	}
}
